function show()
{
  var btnShow = document.getElementById('btnShow');
  btnShow.disabled = true;
  url = "http://localhost/dane.php";
  startGETRequest(url, onComplete, onEnd);
}

function onComplete(responseText, responseXML)
{
  var dataDiv = document.getElementById("dataDiv");
  dataDiv.innerHTML = responseText;
}

function onEnd()
{
  var btnShow = document.getElementById('btnShow');
  btnShow.disabled = false;
}
